<extend name="Public/List/Common"/>
<block name="pageHeader">
	<!--<div class="bjui-pageHeader">
	    <form id="pagerForm" data-toggle="ajaxsearch" action="{:U('actionlog')}" method="post">
	    	<div class="bjui-searchBar">
	            <div class="bjui-searchBar">
	                <label>条件搜索：</label>

	                <div role="group" class="btn-group">
	                    <input type="text" name="value" class="form-control" size="10" value="{:I('value')}">
	                    <select name="key" data-toggle="selectpicker">
	                        <option value="">全部</option>
	                        <option value="nickname" <?php echo I("key")=="nickname" ? "selected='true'" : "";?>>执行者</option>
	                    </select>
	                </div>
	                <button type="submit" class="btn-default" data-icon="search">查询</button>&nbsp;
	                <a class="btn btn-orange" href="javascript:;" onclick="$(this).navtab('reloadForm', true)" data-icon="undo">清空查询</a>&nbsp;
	            </div>
	        </div>
	    </form>
    </div>-->
</block>

<block name="pageContent">
    <div class="bjui-pageContent tableContent">
        <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
            <thead>
            <!-- 编号 	行为名称 	执行者 	执行时间 	操作 -->
            <tr>
                <th data-order-field="id">编号</th>
                <th>标题</th>
                <th>行为名称</th>
                <th>执行者</th>
                <th>执行时间</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            <?php if(@$_list)foreach($_list as $arr):?>
            <tr data-id="{$arr.id}">
                <td>{$arr.id}</td>
                <td>{$arr.title}</td>
                <td>{:get_action($arr['action_id'],'title')}</td>
                <td>{:get_nickname($arr['user_id'])}</td>
                <td>{$arr.create_time|date='Y-m-d H:i:s',###}</td>
                <td>
                    <a href="{:U('Category/index', array('push_user_id'=>$arr['user_id']))}" class="btn btn-green" data-id="CategoryArticle" class="btn btn-blue" data-toggle="navtab" data-title="精准推送文章">精准推送文章</a>
                    <!--<a href="{:U('wechatPush?id='.$arr['id'])}" class="btn btn-green" data-toggle="doajax" >推送文章</a>-->
                    <!--<a href="{:U('wechatPush', array('push_user_id'=>$arr['user_id']))}" class="btn btn-red" data-toggle="doajax" >推送</a>-->
                </td>
            </tr>
            <?php endforeach;?>
            </tbody>
        </table>
    </div>
</block>